projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eacaf2
)
GtkPlacesSidebar: Don't leak an icon
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Oct 2014 03:59:51 +0000
(23:59 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Oct 2014 03:59:51 +0000
(23:59 -0400)
Found in valgrind.
gtk/gtkplacessidebar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacessidebar.c
b/gtk/gtkplacessidebar.c
index 2448ad17f9db0cd7534bea9c11fe4a5125f6aa7c..c6d53f7358e63f86575428d84247198cc4b76620 100644
(file)
--- a/
gtk/gtkplacessidebar.c
+++ b/
gtk/gtkplacessidebar.c
@@
-897,6
+897,7
@@
on_bookmark_query_info_complete (GObject *source,
g_free (mount_uri);
g_free (tooltip);
g_free (bookmark_name);
+ g_object_unref (icon);
out:
g_clear_object (&info);